#include "ChairMovement.h"

void ChairMovement::serialize(PacketWriter pw)
{
	pw.write(getType());
	pw.writeShort(getPosition().x);
	pw.writeShort(getPosition().y);
	pw.writeShort(unk);
	pw.write(getNewstate());
	pw.writeShort(getDuration());
}

void ChairMovement::setUnk(int unk)
{
	this->unk = unk;
}

int ChairMovement::getUnk()
{
	return this->unk;
}